<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>const常量</title>
  <script type="text/javascript">
    // const变量定义时赋值, const变量不能修改
    const PI = 3.14;
    // PI = 3.1415926;error
  </script>
</head>
<body>
</body>
</html>
